package com.yuyu.service;

import com.yuyu.bean.Order;

import java.util.List;

public interface OrderService {
    //通过id查找订单信息
    Order findOrderById(Integer id);
    //添加订单
    int addOrder(Order order);

    //删除订单
    int deleteOrder(List<Integer> list);

    //找出最大id
    Integer getLastId();
    //修改订单
    int editOrder(Order order);

}
